#pragma once

#include "RobotPart.h"

class Bipod: public RobotPart
{
public:
	Bipod(void);
	virtual void display();
	float getHeight();
	void switchTexture();
	GLuint getTexture();
	~Bipod(void);
private:
	void loadImage();

	// texture
	GLuint currentTextureBase;
	GLuint currentTextureLeg;
	GLuint currentTextureFoot;
	GLuint textureBase1;
	GLuint textureBase2;
	GLuint textureLeg1;
	GLuint textureLeg2;
	GLuint textureFoot1;
	GLuint textureFoot2;

	GLfloat sizeFoot;
	GLfloat lenghtLegBipod;
	GLfloat sizeLegBipod;
	GLfloat sizeBaseBipod;
	GLfloat heightBaseBipod;
	GLUquadricObj* quad;
};